package de.hauschild.gmltracer.gml;

import java.util.List;

/**
 * A parser takes a GML program and parses the represented tokens.
 * 
 * @author Klaus Hauschild
 * @since 1.0.0
 */
public interface Parser {

  /**
   * Parses the program and generates a list of token.
   * 
   * @param program
   *          the program
   * 
   * @return the list of parsed tokens
   */
  List<Token> parse(final String program);
}
